﻿using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace DataAccess
{
    /// <summary>
    /// 联系商家表
    /// </summary>
    [Table("aboutus")]
    [PrimaryKey(nameof(merchantid), nameof(aboutusid))]
    public class AboutUS
    {
        /// <summary>
        /// 商户id
        /// </summary>
        public long merchantid { get; set; }

        /// <summary>
        /// 数据id
        /// </summary>
        public long aboutusid { get; set; }

        /// <summary>
        /// 商家介绍
        /// </summary>
        public string? merchantname { get; set; }

        /// <summary>
        /// 商家介绍
        /// </summary>
        public string? introduce { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? address { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string? phone { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string? contact { get; set; }

        /// <summary>
        /// 邮件
        /// </summary>
        public string? email { get; set; }

        /// <summary>
        /// 封面图像
        /// </summary>
        public string? coverimgsrc { get; set; }

        /// <summary>
        /// 其他图像
        /// </summary>
        public string? otherimgsrc { get; set; }

        /// <summary>
        /// 视频地址
        /// </summary>
        public string? videosrc { get; set; }

        /// <summary>
        ///更新时间
        /// </summary>
        public DateTime? updatetime { get; set; }
    }
}
